home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / bnchutil.arc / SD.DOC < prev    next >
Text File  |  1991-04-30  |  94KB  |  2,032 lines

  1. ------------------------------------------------------------------------
  2.  
  3.         SD: IBM-PC Sorted Directory Utility V6.1
  4.  
  5.         Copyright (C) 1986-89 By John F. Stetson
  6.  
  7.              SHAREWARE - All Rights Reserved
  8.  
  9. ------------------------------------------------------------------------
  10.  
  11.     Contents
  12.  
  13. ------------------------------------------------------------------------
  14.  
  15. 1.0    INTRODUCTION
  16. 1.1    Program Requirements
  17. 1.2    Design Philosophy
  18. 1.3    Distribution Files
  19. 1.4    Installation
  20.  
  21. 2.0    OVERVIEW
  22. 2.1    Modes of Operation
  23. 2.2    Command Line Syntax
  24. 2.3    Controlling Program Output
  25. 2.4    Examples of Use
  26.  
  27. 3.0    FILE SELECTION AND SORTING
  28. 3.1    File Selection By Attribute
  29. 3.2    File Selection By Date
  30. 3.3    ARC and ZIP File Processing
  31. 3.4    Global Subdirectory Processing
  32. 3.5    Sort Field Selection Switches
  33.  
  34. 4.0    OUTPUT FORMAT CONTROL
  35. 4.1    Output Mode Switches
  36. 4.2    Output Toggle Switches
  37. 4.3    Filename Column Switches
  38. 4.4    EGA and VGA Switches
  39.  
  40. 5.0    SYSTEM INFORMATION SUMMARY
  41. 5.1    System Hardware
  42. 5.2    System Memory
  43. 5.3    Disk Parameters
  44.  
  45. 6.0    SPECIAL ENVIRONMENTS
  46. 6.1    Batch File Operation
  47. 6.2    Multitasking Environments
  48. 6.3    Local Area Networks and OS/2
  49.  
  50. 7.0    CUSTOMIZATION
  51. 7.1    Configuring the Program
  52. 7.2    Patch Area Format
  53.  
  54. 8.0    APPENDICES
  55. 8.1    Error Messages and Return Codes
  56. 8.2    Modification History
  57. 8.3    Product Support
  58.  
  59. ------------------------------------------------------------------------
  60.  
  61. 1.1    Program Requirements
  62.  
  63. ------------------------------------------------------------------------
  64.  
  65. This is a user-supported  SHAREWARE  product.  Please  see  the  section
  66. titled Product Support at the end of this document for details.
  67.  
  68. SD.COM is a Sorted Directory utility program which  operates  on  IBM-PC
  69. compatible computer systems using the IBM  PC-DOS  or  Microsoft  MS-DOS
  70. Operating System Version 2.0 or higher.
  71.  
  72. SDR.COM is the memory resident (TSR) version of the program.  Since some
  73. users may not wish to use this version of the program, its documentation
  74. has been placed in a separate file.
  75.  
  76. This version of the program  requires  about  15Kb  of    disk  space  and
  77. about 32-64Kb of  memory  during  execution,  depending  on  the  number
  78. of files and directories being processed.
  79.  
  80. Current  program  limitations  are  about  625    total  directories  when
  81. processing global directories, about 1550 files per directory, and about
  82. 1350 files per ARC or ZIP file, assuming 64Kb of memory is available.
  83.  
  84. File sizes up to 100Mb and disk sizes up to 1000Mb are fully supported.
  85.  
  86. Support is provided for IBM-PC    compatible  MDA, CGA, MCGA, EGA, and VGA
  87. video adaptors and monitors.
  88.  
  89. ------------------------------------------------------------------------
  90.  
  91. 1.2    Design Philosophy
  92.  
  93. ------------------------------------------------------------------------
  94.  
  95. SD provides more information than the resident DOS DIR command about the
  96. files on a disk, and allows  the  user    to  select,  sort,  format,  and
  97. display the information in a variety of ways.  This is    accomplished  by
  98. specifying  a pattern name to select the desired files and by specifying
  99. any of a variety of command line "switches" which allow  you  to  modify
  100. the  behavior of the program.  The switch names have been designed using
  101. letters, as much as possible, so that it  is  easier  to  associate  the
  102. function  of  a  switch  with its name.  In addition, the default switch
  103. values have been carefully chosen to reflect their most common use.
  104.  
  105. Although the program is relatively small, it is possible to use it in an
  106. almost    infinite  variety  of  ways  by  using the switches in different
  107. combinations.  A significant amount of effort has gone    into  optimizing
  108. the  performance  of  the  program,  due  to  the  number of times it is
  109. typically used.  The  program  is  designed  to  be  as  transparent  as
  110. possible  in  normal  operation,  and does not impose itself between the
  111. user  and  the    operating  system.    This  allows  both   novice    and
  112. experienced users to use it in the way that best meets their needs.
  113.  
  114. As a default, the program writes output directly to video display memory
  115. which results in noticeably faster output than that possible  with  DOS.
  116. Output can still be redirected to an output device or file by specifying
  117. the standard DOS redirection symbol (>) on the DOS command line.
  118.  
  119. Maximum possible use is made of the horizontal dimension of  the  screen
  120. to minimize the loss of previously displayed data by screen scrolling.
  121.  
  122. Support is provided for a variety of file selection attributes.
  123.  
  124. Support is provided for a variety of screen display formats with varying
  125. amounts of detailed file information displayed.
  126.  
  127. A variety of user customizable command line switches  and  screen  field
  128. display colors are also supported.
  129.  
  130. Every effort has been made to keep the size of the program to a minimum,
  131. for  efficient use on systems having floppy disks.  However, many of the
  132. capabilities of both DOS and this program are only fully  realized  when
  133. using large hard (fixed) disks with  hierarchical  directory  structures
  134. to organize files.
  135.  
  136. Two of the most valuable resources in a computer system are  memory  and
  137. disk storage.  Many applications make little or no attempt to use  these
  138. resources efficiently.    Not only does this program  attempt  to  provide
  139. many useful (and hopefully frequently used) capabilities in an efficient
  140. package, but it can be used to manage the system memory and  disk  space
  141. so that they are used to best advantage.
  142.  
  143. ------------------------------------------------------------------------
  144.  
  145. 1.3    Distribution Files
  146.  
  147. ------------------------------------------------------------------------
  148.  
  149. The SD program and associated files are distributed in the  form  of  an
  150. Archive file called SD61.ARC or SD61.ZIP.  This is  done  to  save  disk
  151. space and time when transferring  files  over  Computer  Bulletin  Board
  152. systems and to insure the integrity  of  the  files.  You  will  need  a
  153. utility program which is  capable  of  extracting  the    files  from  the
  154. distribution file.  These types of programs are normally available  from
  155. most Computer Bulletin Board systems or Software Libraries.
  156.  
  157. The distribution file contains the following files:
  158.  
  159. SD    .COM - Executable File for SD - Sorted Directory Utility
  160. SD    .DOC - Documentation File for SD
  161. SD    .PIF - Microsoft Windows PIF File for SD
  162.  
  163. SDB    .BAT - Batch File - Browse SD Output Using LIST Program
  164. SDD    .BAT - Batch File - Execute SD Commands for Multiple Drives
  165. SDM    .BAT - Batch File - Execute SD with Multiple Command Parameters
  166.  
  167. SDR    .COM - Executable File for SDR - Memory Resident Version of SD
  168. SDR    .DOC - Documentation File for SDR
  169.  
  170. VSN    .COM - Executable File for VSN - Volume Serial Number Utility
  171. VSN    .DOC - Documentation File for VSN
  172.  
  173. DEMO    .BAT - Batch File Demonstrating the SD Program
  174. DEMO2    .BAT - Batch File Demonstrating Related Products
  175. DEMO3-6 .COM - Executable Files Called By DEMO2.BAT
  176. ORDER    .FRM - Order and Registration Form
  177. SITE    .FRM - Site License Agreement Form
  178.  
  179. The following files are also provided when you register SD:
  180.  
  181. SDC    .EXE - Executable File for SDC - Configuration Program
  182. SDC    .DOC - Documentation File for SDC
  183.  
  184. The following source code files are also available separately:
  185.  
  186. SD    .ASM - Assembly Language Source File for SD
  187. SDR    .ASM - Assembly Language Source File for SDR
  188. VSN    .ASM - Assembly Language Source File for VSN
  189. SDC    .BAS - BASIC Language Source File for SDC
  190.  
  191. ------------------------------------------------------------------------
  192.  
  193. 1.4    Installation
  194.  
  195. ------------------------------------------------------------------------
  196.  
  197. Copy the .BAT and .COM files from the  distribution  file  to  the  root
  198. directory of the system boot disk (normally C:\) or to another directory
  199. of your choice which is specified in the DOS PATH command  in  the  file
  200. AUTOEXEC.BAT.
  201.  
  202. The best way to quickly  familiarize  yourself    with  the  features  and
  203. capabilities of SD is to run the DEMO.BAT file.  For best results,  copy
  204. the DEMO.BAT file to the root directory of the system  boot  disk,  make
  205. sure this is the default directory (type CD C:\), and type the    command:
  206.  
  207. DEMO
  208.  
  209. You can optionally specify a target drive and/or directory for the files
  210. to be displayed.  For example:
  211.  
  212. DEMO D: or DEMO D:\BIGDIR
  213.  
  214. Only the files in the target directory and its    subdirectories    will  be
  215. processed, so it is best to specify the root directory of the  drive  in
  216. order to be able to access a large number of  files.  The  demonstration
  217. is designed to be run with a copy of the distributed SD.COM file, before
  218. any program defaults are changed by the user.  This demonstration simply
  219. displays information about the computer system    and  the  files  on  the
  220. selected disk; it does not write anything to the disk.
  221.  
  222. Once you are familiar with SD, you may wish to run  the  DEMO2.BAT  file
  223. for  a    quick  demonstration  of  several   related  products.    See  the
  224. section titled Product Support for additional information.
  225.  
  226. ------------------------------------------------------------------------
  227.  
  228. 2.1    Modes of Operation
  229.  
  230. ------------------------------------------------------------------------
  231.  
  232. SD is a versatile program that can be used in a variety of ways:
  233.  
  234. The most common use is to simply display information  about  files  (and
  235. subdirectories)  in  a    single (usually the current) directory.  Most of
  236. the sort field switches are used in this mode.
  237.  
  238. The program can be  used  to  display  detailed  information  about  the
  239. system hardware configuration,    the  availability  and    current  use  of
  240. different kinds of system memory and fundamental  disk    characteristics.
  241. The /i switch is used in this mode.
  242.  
  243. The program can be used to search or scan  all    (or  a    subset)  of  the
  244. ARC and/or ZIP files on a disk for one or  more  files    which  meet  the
  245. specified criteria  (file name pattern or age).  This  processing  makes
  246. effective use of ARC and ZIP compressed files by allowing easy access to
  247. ARC and ZIP directories.  The /a and /z switches are used in this mode.
  248.  
  249. The program can be used to search or scan  all    (or  a    subset)  of  the
  250. directories  on  a  disk for one or more files or directories which meet
  251. the  specified    criteria  (file name pattern,  file attributes, or age).
  252. The /g switch is used in this mode.
  253.  
  254. The program can be used to create an output file by redirecting  console
  255. output    which may be subsequently used as input to another program.  The
  256. /r switch can be used in this mode, but is optional  since  the  program
  257. will automatically detect the use of DOS command line redirection.
  258.  
  259. ------------------------------------------------------------------------
  260.  
  261. 2.2    Command Line Syntax
  262.  
  263. ------------------------------------------------------------------------
  264.  
  265. The complete form of the DOS command line to run the program is:
  266.  
  267. D>sd [drive][path][filespec] [/switches] [>[>]device/file]
  268.  
  269. In most cases, only one or two parameters are specified, so the  command
  270. syntax    isn't  as  formidable  as  it  may appear at first.  Each of the
  271. command line parameters is optional (as the [] characters indicate)  and
  272. may  be  used  together in any combination or order.  Spaces may also be
  273. freely used at any point to improve readability.   The    various  command
  274. line parameters are described below:
  275.  
  276. [drive]
  277.  
  278. This parameter specifies the name of the disk  drive  to  be  processed.
  279. Typical  drive    letters  are A: or B: for floppy disks and C: for a hard
  280. disk.  RAM (memory) disks implemented via device  drivers  may    also  be
  281. specified, as can other types of disks, such as CD-ROM drives or logical
  282. Network drives. If no drive letter is specified, the currently logged-in
  283. drive (shown in the DOS prompt) is used.
  284.  
  285. [path]
  286.  
  287. This parameter specifies the path  through  the  hierarchical  directory
  288. structure  to  the  desired  directory    which  contains  the files to be
  289. processed.  The general form of the path parameter is shown below:
  290.  
  291. [\][directory][\directory]...[\directory][\]
  292.  
  293. The path name may simply be the name of the root directory (\),  or  the
  294. name of a subdirectory in the root directory.  The standard DOS . and ..
  295. directory names  may  be  used    to  refer  to  the  current  and  parent
  296. directories,  respectively.    If  a  path is not specified, the current
  297. directory on the specified disk drive is used.    If the path name is  the
  298. first parameter on the DOS command line after  the  program  name,  then
  299. they must be separated by a space.
  300.  
  301. [filespec]
  302.  
  303. This parameter specifies  which  file  names  are  to  be  selected  for
  304. processing from the previously specified directory (if any).  A complete
  305. (unambiguous) file name may be specified, or  an  ambiguous  file  name,
  306. containing  "wildcard"  characters  (? or *)  may be specified to select
  307. several files.    Either the file name (first 8 characters)  or  the  file
  308. extension  (last  3  characters)  or both may be completely omitted.  In
  309. these cases, wildcard characters are automatically  used  to  match  all
  310. possible  file names in the selected directory.  You may specify leading
  311. characters of the file names you wish to match,  omitting  the    trailing
  312. characters of the name, the period delimiter, and the file extension. In
  313. this respect, SD processes  file  specifications  differently than  DIR.
  314.  
  315. For example: SD ABC is equivalent to DIR ABC*.*
  316.  
  317. If you specify a filespec which exactly  matches  a  subdirectory  name,
  318. then only the files in the subdirectory will be selected.  If  you  wish
  319. to select other files in the parent directory  with  leading  characters
  320. the same as the subdirectory name, you must use the following  notation:
  321.  
  322. Instead of SD ABC, use SD ABC*, where ABC is a subdirectory name.
  323.  
  324. [/switches]
  325.  
  326. This parameter specifies one or more "switch"  or  option  values  which
  327. modify    the operation of the command.  All switches are optional and may
  328. be specified before the drive, path, and filespec, after them,    or  both
  329. before    and  after.  Each switch has a default    value,    which  has  been
  330. carefully selected to represent the most  frequently  used  option,  for
  331. most users.  Specifying a switch overrides or "toggles" the  current  or
  332. default value of that command  option.    The  SDC  program  can    be  used
  333. to change the default values of the switches, or  they    can  be  patched
  334. using the standard DOS DEBUG utility  program.    If  you  find  that  you
  335. frequently wish to override a default switch value, you can  permanently
  336. change the default switch  value  by  using  either  of  these    methods.
  337. If a default switch value is overridden, specification    of  that  option
  338. will toggle the option back  to  its  original    state,    if  appropriate.
  339. Detailed descriptions of all switches are given below.
  340.  
  341. [>[>]device/file]
  342.  
  343. This parameter is actually a standard feature of DOS called  redirection
  344. of  output  to    the  "standard output" (STDOUT) device.  This allows the
  345. console output generated by the program  to  be  transmitted  to  either
  346. another device (usually the printer device: PRN), or to a disk file.  By
  347. redirecting the output of the command to a file, you can later    use  the
  348. file  as  input  to a word processor, disk catalog system, etc.  If this
  349. parameter is specified, the program will automatically detect  this  and
  350. will use  standard  DOS console  output  services  rather  than  writing
  351. directly to video display memory.
  352.  
  353. ------------------------------------------------------------------------
  354.  
  355. 2.3    Controlling Program Output
  356.  
  357. ------------------------------------------------------------------------
  358.  
  359. Unlike most programs, you can't type ahead while the program is running.
  360. This is due to the need to monitor the keyboard in order  to  pause  the
  361. screen output.    If you wish to begin typing a new command, simply  press
  362. ESCAPE or CTRL-C to  terminate    the  output,  and  then  type  the  next
  363. command.  ESCAPE causes the program to    terminate  immediately,  whereas
  364. CTRL-C closes the file box and displays the disk space totals line.
  365.  
  366. Console output may be paused by  pressing  any    other  key  and  may  be
  367. restarted in two different ways.  If the  RETURN  or  PAGE-DOWN  key  is
  368. pressed, screen output resumes until the either the screen fills or  the
  369. output finishes.  If any other key is pressed, only  a    single    line  of
  370. additional screen  output  is  displayed.  This  allows  you  to  easily
  371. control the displayed output so as to  minimize  the  loss  of    existing
  372. screen data by scrolling.  The    Space  Bar  or    the  DOWN-ARROW  key  is
  373. recommended for use in single line scrolling mode.
  374.  
  375. As an experiment, try typing the command  SD,  immediately  followed  by
  376. two carriage returns.  You will see only one line of output and can  use
  377. the space bar to display additional lines.  When you have  seen  enough,
  378. press the ESCAPE key to terminate the program.    By  carefully  selecting
  379. the proper switch values and using this technique, you can minimize  the
  380. loss of previously displayed information on the display screen.
  381.  
  382. If /q is specified, the console output    isn't  paused  when  the  screen
  383. fills.    This is necessary when redirecting output to a file  or  device,
  384. or when you wish to browse through large amounts of output.
  385.  
  386. Output lines which are longer than 80 characters are truncated at column
  387. 80 when writing to video display memory, but not when redirecting output
  388. to a file or device.
  389.  
  390. Program output may be sent to a printer in several different ways:
  391.  
  392. You can use the technique of "echoing" console output  to the printer by
  393. pressing either Control-P or Control-Print-Screen to start and stop.
  394.  
  395. You can use the technique of printing the entire contents of the  screen
  396. by pressing Shift-Print-Screen.
  397.  
  398. You can use the technique of  redirecting  all    program  output  to  the
  399. printer by using the DOS command line redirection symbol and the printer
  400. device name: SD ... >PRN
  401.  
  402. ------------------------------------------------------------------------
  403.  
  404. 2.4    Examples of Use
  405.  
  406. ------------------------------------------------------------------------
  407.  
  408. A>sd
  409.  
  410. Display the current directory of drive A.
  411.  
  412. C>sd /?
  413.  
  414. Display program help information.
  415.  
  416. A>sd c:/i/m
  417.  
  418. Measure CPU performance and display system information summary including
  419. information for the disk in drive C.
  420.  
  421. B>sd/f/6
  422.  
  423. Display the current directory of drive B, sorted by file name, using the
  424. six column format (file names only).
  425.  
  426. D>sd c:\/ss/1
  427.  
  428. Display only the system files in the root directory of    drive  C,  using
  429. the one column output format.
  430.  
  431. C>sd /j
  432.  
  433. Display the currently configured screen colors.
  434.  
  435. A>sd c:\/sd
  436.  
  437. Display all of the subdirectories in the root directory of drive C.
  438.  
  439. A>sd /lp/sf c:\ >files.dat
  440.  
  441. Create a file called "a:files.dat" which contains a sorted list  of  all
  442. files with path names (no directories) in the root directory of drive C.
  443.  
  444. A>sd .asm/b-
  445.  
  446. Display all files having an extension of "asm" in the current  directory
  447. of drive A and sort the output by descending file size.
  448.  
  449. B>sd \/n/4/y
  450.  
  451. Select all files in the root directory of drive B, do not sort the file
  452. entries, display the output using the four column  format  and    restore
  453. the original console screen when done.
  454.  
  455. C>sd \/35
  456.  
  457. Display all of the files in the root directory of drive C using 35 lines
  458. on the screen with an EGA or VGA.
  459.  
  460. C>sd \/u/50/w
  461.  
  462. Display all of the files in the root directory of drive C in upper  case
  463. using 50 lines on the screen with an EGA or VGA and automatically  reset
  464. to 25 lines when done.
  465.  
  466. B>sd temp.* >c:temp.dir
  467.  
  468. Select all files having a name of "temp" in  the  current  directory  of
  469. drive B, and redirect the console output to file "c:temp.dir".
  470.  
  471. B>sd/1 c:\*.com >>c:temp.dir
  472.  
  473. Select all files with an extension of "com" in  the  root  directory  of
  474. drive  C,  format  using  one  output  column,    and redirect the console
  475. output, appending to the file "c:temp.dir".
  476.  
  477. D>sd a:/v/p/1
  478.  
  479. Display the disk volume label and all file information    for  the current
  480. directory of drive A without a column title line.
  481.  
  482. B>sd e:/k/u
  483.  
  484. Display the current directory of drive E, rounding the space  values  to
  485. Kilobytes and displaying the file names in upper case.
  486.  
  487. C>sd /h/2
  488.  
  489. Display all files and directories in the current directory  on    drive  C
  490. sorted and displayed from left to right, using the two column format.
  491.  
  492. A>sd t/e/k/q
  493.  
  494. Select all files in the current directory of drive A whose  names  begin
  495. with  "t",  erase the screen before displaying output, display file size
  496. and disk space values in Kilobytes and do not pause the console output.
  497.  
  498. C>sd \
  499.  
  500. Display all files in the root  directory  of  drive  C    sorted    by  file
  501. extension and by file name using the two column format.
  502.  
  503. B>sd temp
  504.  
  505. If temp is an existing subdirectory in the current directory of drive B,
  506. then  select  all of the files in that directory.  Otherwise, select all
  507. files in the current directory of drive B whose names begin with "temp".
  508.  
  509. B>sd temp*
  510.  
  511. Display all directories and files in the current directory  of    drive  B
  512. whose names begin with "temp".
  513.  
  514. A>sd ../sar
  515.  
  516. Display all files in the parent directory of the  current  directory  of
  517. drive A with either the archive or read/only attribute.
  518.  
  519. A>sd c:/d/@+30
  520.  
  521. Display all files in the current directory of drive C which were created
  522. during the past month sorted by date and time, using two output columns.
  523.  
  524. C>sd \/v/g/1
  525.  
  526. Display the disk volume label and all information for all files  in  all
  527. directories of drive C.
  528.  
  529. C>sd \/gt
  530.  
  531. Display grand totals information only for all directories on drive C.
  532.  
  533. C>sd \/g/t/s
  534.  
  535. Display totals information only for all directories on drive C.
  536.  
  537. C>sd d:\test/gn
  538.  
  539. Display information for files and directories at and  below  the  "test"
  540. directory level of drive D without sorting directory names.
  541.  
  542. A>sd c:\*.exe/g
  543.  
  544. Display information for all .exe files in all directories on drive C.
  545.  
  546. C>sd /sn
  547.  
  548. Display all files without any attributes on drive C.
  549.  
  550. A>sd c:\/g/sd
  551.  
  552. Display all directory names on drive C.
  553.  
  554. B>sd ..\*.a?m/d+/1
  555.  
  556. Display all files in the parent directory of the  current  directory  of
  557. drive  B  whose  extensions begin with "a" and end with "m" and sort the
  558. output by ascending date and time using the one column output format.
  559.  
  560. C>sd /a/1
  561.  
  562. Display all files in all ARC files in the current directory of    drive  C
  563. using the one column format.
  564.  
  565. C>sd /z:*.com/4
  566.  
  567. Display all .com files in all ZIP files  in  the  current  directory  of
  568. drive C using the 4 column format.
  569.  
  570. C>sd abc/a/@+365
  571.  
  572. Display all files less than one year old in all ARC  files  whose  names
  573. begin with "abc" in the current directory of drive C in 2 column format.
  574.  
  575. C>sd \/az+/gt
  576.  
  577. Display grand totals information only for all files in    all  directories
  578. and all files in all ARC and ZIP files in all directories of drive C.
  579.  
  580. C>sd/v/1 b:\dir1\dir2\dir3\*.doc/d >prn
  581.  
  582. Select    all  files  having  an    extension  of  "doc"  in  the  directory
  583. "\dir1\dir2\dir3"  of  drive  B.  Sort the output by date and time.  Use
  584. the one  column  output  format  and  include  the  disk  volume  label.
  585. Redirect the console output to the printer.
  586.  
  587. A>sd/r/q b: (Type Control-P/RETURN)
  588. (console output is duplicated on the printer)
  589. A> (Type Control-P/RETURN)
  590.  
  591. Display the current directory of  drive  B  and  duplicate  the  console
  592. output on the printer.
  593.  
  594. ------------------------------------------------------------------------
  595.  
  596. 3.1    File Selection By Attribute
  597.  
  598. ------------------------------------------------------------------------
  599.  
  600. Syntax: /s[attr-switch]...[attr-switch]
  601.  
  602. /s  - Select all files and directories
  603. /sd - Select Directories only (no files)
  604. /sf - Select Files only (no directories)
  605. /ss - Select files with the System attribute
  606. /sh - Select files with the Hidden attribute
  607. /sr - Select files with the Read/Only attribute
  608. /sa - Select files with the Archive attribute
  609. /sn - Select files with No attributes
  610.  
  611. These switches are used to further restrict  which  files  are    selected
  612. (in addition to any filespec) based on the attributes of the files.
  613.  
  614. As a default, the /s switch is configured ON.  This means that all files
  615. (including Hidden and System files) are selected as a  default.  If  you
  616. prefer to not see these files (like DIR) unless you type /s, set the  /s
  617. switch OFF using the SDC program or DEBUG.
  618.  
  619. If /sd is specified, all and only the subdirectories  in  the  specified
  620. directory are selected, including the current (.) and parent (..).
  621.  
  622. If /sf is specified, all files (regardless of attribute) and none of the
  623. directories are selected.
  624.  
  625. If /sn is specified, all and only  the    files  with  none  of  the  four
  626. possible  file    attributes   are  selected.   This  switch  is    mutually
  627. exclusive with the other /s switches.
  628.  
  629. If a /ss, /sh, /sr, or /sa switch is specified by itself, all  and  only
  630. the files with the specified attribute are selected.  These switches may
  631. also be combined in any order and the intervening /s switch(es) omitted.
  632. For example: SD C:\DIR/SA/SR is equivalent to SD C:\DIR/SAR
  633.  
  634. When multiple /s switches are specified, the effect is "additive";  i.e.
  635. for  the  example  above, all files with either the Archive or Read/Only
  636. attribute will be selected from the specified directory.
  637.  
  638. Specification of any /s switch(es) other than /sd causes  an  additional
  639. 'totals' line to be displayed which summarizes the number of files which
  640. have each of  the  requested  attributes.  If  files  with  the  Archive
  641. attribute are selected, the percent of files with this attribute is also
  642. displayed.  This provides an indication of the need to back up files  on
  643. a hard disk.
  644.  
  645. Since separate colors are used to identify System and Hidden files  from
  646. normal files, it is possible to permanently configure the /s  switch  ON
  647. without losing the ability to distinguish the different file types.
  648.  
  649. One difference between SD and CHKDSK is that  CHKDSK  considers  a  disk
  650. volume label to be a "hidden file", whereas SD does not.
  651.  
  652. ------------------------------------------------------------------------
  653.  
  654. 3.2    File Selection By Date
  655.  
  656. ------------------------------------------------------------------------
  657.  
  658. Syntax: /@[+/-][days][+/-]
  659.  
  660. The /@ switch is used to select files based on their age (the  date  the
  661. file was created or last updated). Since dates are specified relative to
  662. the current system date (normally set by the DATE command or  real  time
  663. clock  at  boot  time),  it  is  essential  that  the system date be set
  664. correctly in order for this feature to work properly.
  665.  
  666. Files may be selected which are exactly the  specified    number    of  days
  667. old, or either newer (+) or older (-) than the specified number of days.
  668. The number of days specified may range from 0  to  9999,  syntactically,
  669. but cannot be so large as to pre-date January 1, 1980, which is when the
  670. universe was created (according to DOS!).
  671.  
  672. Think of the date specification  process  in  two  steps:  go  back  the
  673. specified number of days and then find the files written before (-), on,
  674. or after (+) that date.
  675.  
  676. For example:
  677.  
  678. /@    select files written today (days=0)
  679. /@1+    select files written during last 2 days
  680. /@7    select files written exactly one week ago
  681. /@+30    select files written during the past month
  682. /@-365    select files written more than a year ago
  683.  
  684. The +/- may be specified either before or after the number of days.
  685.  
  686. Regardless of the default sort type, specifying the /@ switch will cause
  687. the /d switch to be  set  automatically.   If  you  wish  to  specify  a
  688. different sort switch, you must specify it after the /@ switch.  If  the
  689. number of filename columns is not already set to 1,  specifying  the  /@
  690. switch will cause the /2 switch to be set automatically.  If you wish to
  691. specify a different number of filename    columns,  you  must  specify  it
  692. after the /@ switch.
  693.  
  694. ------------------------------------------------------------------------
  695.  
  696. 3.3    ARC and ZIP File Processing
  697.  
  698. ------------------------------------------------------------------------
  699.  
  700. Syntax: /a or /z or /az or /za [+][:filespec]
  701.  
  702. These switches request special processing for compressed  Archive  files
  703. instead of OR in addition to normal file  processing.  These  files  are
  704. created by utility programs such as ARC.EXE and PKZIP.EXE.  Although the
  705. format of ARC and ZIP files differs, the use of the /a and  /z    switches
  706. is the same, and file information is displayed using the same format.
  707.  
  708. The /a switch causes all .ARC, .PKA, and .PAK  files  to  be  processed.
  709. The /z switch causes all .ZIP files to be processed.  Specifying  either
  710. /a/z, /az, or /za will cause BOTH types of files  to  be  processed.  To
  711. simplify the discussion below, only the  /a  switch  is  explained.  The
  712. same information applies to the use of the /z switch,  either  alone  or
  713. when used together with  the  /a  switch.  All    other  program    switches
  714. operate as usual with the exception of those noted below.
  715.  
  716. In  the  simplest  case  (/a specified),  all  files  in  the  specified
  717. directory  with  extensions  of  .ARC    are   automatically   processed.
  718. Although the .ARC file type is assumed, any  other  file  type    (such as
  719. .PAK or .PKA) may be explicitly specified to select the desired files.
  720.  
  721. Each Archive file is opened, the directory entries are read  and  saved,
  722. and the file is closed.  Information for each of the  files  inside  the
  723. selected Archive file is then displayed.  This process repeats until all
  724. of the selected Archive files have been  processed.  The  Archive  files
  725. are processed in the order they are found in the directory and    are  not
  726. sorted.  Entries inside  each  selected  Archive  file    are  sorted  and
  727. displayed in the usual way except that some  additional  information  is
  728. displayed if the /1 switch is specified.
  729.  
  730. The information displayed for each file in  an    Archive  file  includes:
  731. Filename, Original Length, Storage Method, Packing Percent, Packed Size,
  732. Date, Time, and CRC code.  After the entries in  each  Archive file  are
  733. displayed, a totals line is displayed which summarizes this  information
  734. for the Archive file as a whole.  After  all  Archive  files  have  been
  735. processed, a  grand  totals  line  is  displayed  which  summarizes  the
  736. information for all of the selected Archive files.
  737.  
  738. If a primary file specification is used with /a (SD ABC/A), it    is  used
  739. to select a subset of the available  ARC  files.  If  a  secondary  file
  740. specification is used (SD /A:ABC), it is used  to  select  a  subset  of
  741. the available files INSIDE the selected ARC files.  The  /@  switch  may
  742. also be used to select files INSIDE ARC files by the age of the files.
  743.  
  744. If /a+ is specified, normal file processing occurs  first,  followed  by
  745. Archive file processing for each of the selected ARC files. This process
  746. can also be applied to all directories on a disk by using the /g switch.
  747. Processing for /a may take considerable  time  if  many  ARC  files  are
  748. present and the disk space is heavily fragmented.  In this case, you may
  749. wish to specify the /q switch and control the console output manually.
  750.  
  751. The /s switches are not applicable to Archive file entries since no file
  752. attribute information is maintained inside  ARC  files.  The  /c  switch
  753. is not particularly useful either since it sorts by the file CRC  codes!
  754. Nested ARC files (ARC files inside ARC files) cannot be processed  since
  755. this would require the full extraction    code  for  the    ARC  compression
  756. algorithms to be included in this program, which is not appropriate.
  757.  
  758. The following limitations apply to ZIP file processing:
  759.  
  760. 1) Only the least significant four hexadecimal digits of the file
  761.    CRC codes are displayed, due to space limitations.
  762.  
  763. 2) Embedded path names stored in ZIP files are not displayed, due
  764.    to space limitations.
  765.  
  766. 3) ZIP files which span multiple disks are not supported.
  767.  
  768. ARC and ZIP files have become a standard means of transferring DOS  disk
  769. files across Computer Bulletin Board systems  since  they  significantly
  770. reduce the transfer time, allow multiple files to  be  combined  into  a
  771. single file, insure the integrity of the files by storing  and    checking
  772. CRC codes, and preserve the original file dates, times and  sizes.  They
  773. are also useful for long term disk storage since they reduce the  number
  774. of floppy disks needed to store data.  It is therefore highly  desirable
  775. to be able to display the directories of these files in an efficient and
  776. flexible manner.  The integration of ARC and ZIP  file    processing  with
  777. normal directory processing in this program  allows  you  to  take  full
  778. advantage of the benefits inherent in compressed Archive files.
  779.  
  780. ------------------------------------------------------------------------
  781.  
  782. 3.4    Global Subdirectory Processing
  783.  
  784. ------------------------------------------------------------------------
  785.  
  786. Syntax: /g or /gn or /gt
  787.  
  788. The  /g  switch  requests  global  subdirectory  processing.  All  other
  789. switches  operate  as  usual.     After    the  specified    target directory
  790. (usually, but not necessarily,    a  root  directory)  is  processed,  all
  791. subdirectories below that directory are processed.  The  directories are
  792. sorted into alphabetic order unless /gn is specified when they    are  not
  793. sorted and are processed in the order they are found on the disk.
  794.  
  795. After all directories have been processed, a grand totals line    for  all
  796. of  the  directories and files is displayed,  followed by a grand totals
  797. line for file attributes (if a /s switch was specified).  Specifying the
  798. /gt switch suppresses the totals lines for  individual    directories  and
  799. only displays the grand totals.
  800.  
  801. If the current directory on the target drive is not the root  directory,
  802. you must explicitly specify it (\), if you wish to process  all  of  the
  803. directories on that drive: SD \/G ...
  804.  
  805. Processing for /g may take considerable time  if  many    directories  are
  806. present and the disk space is heavily fragmented.  In this case, you may
  807. wish to specify the /q switch and control the console output manually.
  808.  
  809. The /g switch has a variety of uses. It can be used to display a summary
  810. of the total number of directories and files on a disk    similar  to  the
  811. CHKDSK command if /gt is specified.  Somewhat more information for  each
  812. individual directory is displayed if /g/t is specified.
  813.  
  814. It can be used to locate any and all occurrences of a file anywhere on a
  815. disk with a complex directory structure by simply specifying a filename.
  816. If no matching files are found, the displayed path name is that  of  the
  817. last directory which was searched for the file.
  818.  
  819. Another interesting use is to specify the /sd switch, which will display
  820. all of the directories on the disk below the specified directory.
  821.  
  822. ------------------------------------------------------------------------
  823.  
  824. 3.5    Sort Field Selection Switches
  825.  
  826. ------------------------------------------------------------------------
  827.  
  828. Syntax: /sort-switch[+/-]
  829.  
  830. /f - Sort by (1) File Name and (2) extension
  831. /x - Sort by (1) file Extension and (2) name
  832. /b - Sort by file size in Bytes
  833. /d - Sort by (1) file Date and (2) time
  834. /c - Sort by file Cluster number or ARC/ZIP CRC
  835. /n - No sort - display entries in directory order
  836.  
  837. These switches specify which fields are to be used as sort  "keys"  when
  838. formatting  the  output  information.     These switches are all mutually
  839. exclusive; i.e. only one sort switch should be specified.   If    no  sort
  840. switch is specified, the default is by file extension and name (/x).
  841.  
  842. Sort switches may be optionally followed by a + for an ascending sort or
  843. a -  for a descending sort.  The default sort direction is ascending for
  844. all sort switches except /d, which is descending  (so  the  newer  files
  845. appear first). The + and - options are not meaningful for the /n switch.
  846.  
  847. The /f switch simply sorts the selected directory entries by  file  name
  848. and extension.    Any "strange" file names beginning with unusual  special
  849. characters will tend to collect at the beginning and end  of  the  list,
  850. where they can be easily identified.
  851.  
  852. The /x switch is helpful  in  identifying  which,  if  any,  files  have
  853. "strange"  file  name extensions.  Since most standard files have one of
  854. only a few possible types (extensions), such as .BAT, .COM,  .EXE,  etc.
  855. using this switch will separate out any non-standard file names.
  856.  
  857. The /b switch is used to find either the smallest or largest files on  a
  858. disk,  or  to  discover  which    file(s)  have sizes which lie in a given
  859. range.    This can be helpful when it is known that  a  file  of    a  given
  860. size is missing from a disk, and it is desired to find its  identity  by
  861. examining the contents of another disk which does contain the file.
  862.  
  863. The /d switch is a  frequently    used  sorting  option,    especially  when
  864. combined  with    the  /1  or /2 switch.    This allows either the newest or
  865. oldest files on a disk to be easily identified.  Of course, the validity
  866. of  this  information  is once again dependent on the correct setting of
  867. the system date at the time the files were written.  If  the  number  of
  868. filename columns is not already set to 1, specifying the /d switch  will
  869. cause the /2 switch to be set automatically.  If you wish to  specify  a
  870. different number of filename columns, you must specify it after  the  /d
  871. switch.
  872.  
  873. The /c switch sorts the file entries by the first  or  starting  cluster
  874. number allocated to the file.  This is simply the absolute  location  on
  875. the disk where the file  begins.  Although  not  used  very  frequently,
  876. this switch can be used to determine the actual order of the files on  a
  877. disk, which is independent of  their  order  in  the  disk's  directory,
  878. especially on a disk whose space has become "fragmented" by the creation
  879. and deletion of many files  with  differing  sizes.  Regardless  of  the
  880. default value for the number of  filename  columns,  specifying  the  /c
  881. switch will cause the /1 switch to be set automatically.  If you wish to
  882. specify a different number of filename    columns,  you  must  specify  it
  883. after the /c switch.  For ARC or ZIP files, /c causes the  files  to  be
  884. sorted by the file CRC codes which is not very useful.
  885.  
  886. The /n switch bypasses the sort process with the result  that  the  file
  887. entries  are  displayed  in  the order they occur in the disk directory.
  888. This is helpful when examining a bootable disk to insure that the  order
  889. of  files  is  optimal    (in  the  order  they are needed during the boot
  890. sequence, and by frequency of use  after  boot-up).  This  is  the  same
  891. order of file names as that displayed by the DIR command.
  892.  
  893. ------------------------------------------------------------------------
  894.  
  895. 4.1    Output Mode Switches
  896.  
  897. ------------------------------------------------------------------------
  898.  
  899. Syntax: /output-switch ... /output-switch
  900.  
  901. /?  - Display program help information
  902. /i  - Display system Information summary
  903. /j  - Just display configured screen colors
  904. /l  - List file names and (p)ath names only
  905. /r  - Redirect output to a device or file (optional)
  906. /t  - Display only the Totals output lines
  907.  
  908. The /? switch requests that a help screen be displayed which  summarizes
  909. the command line syntax used to invoke the program and switch  meanings.
  910. The /? switch output may be redirected to a file as follows: SD /? >FILE
  911.  
  912. The /i switch requests that a screen be displayed which  summarizes  the
  913. system hardware configuration and memory and disk  characteristics.  See
  914. the section titled System Information Summary for details.
  915.  
  916. The /j switch requests that a summary of the  configured  screen  colors
  917. be displayed.  This switch is useful when you can't  remember  what  the
  918. color values are for a specific type of file attribute or screen area.
  919.  
  920. The /l switch requests that a list of  file names (only)  be  generated.
  921. All other output (file information  and  totals  lines)  is  suppressed.
  922. This switch is normally used  with  the  /sf  switch  (to  suppress  any
  923. directories),  and  the  /r  switch to redirect the output to a file for
  924. processing by another program.    The filename column switches are ignored
  925. (/1 is assumed) if they are specified with  the  /l  switch.  Since  any
  926. embedded spaces are removed, the file names are ready to be operated  on
  927. by  copy  commands  which  might  be  generated automatically by another
  928. program.  Specifying the /lp (path name) option causes the file names to
  929. be prefixed with their path names.  This  can  be  useful  when  another
  930. program is to subsequently process  the  file  name  list  from  another
  931. directory.  /l is mutually exclusive with the /t and /gt switches.
  932.  
  933. The /r    switch    requests  that    console  output  be  written  using  DOS
  934. services, rather than directly to video display memory for higher speed.
  935. Although this slows down the output and suppresses  the  screen  colors,
  936. this is necessary when the need arises to redirect the output to a  file
  937. or a device (printer) for subsequent processing.  /r is also used to run
  938. the program in a window with a multitasking environment (see below).
  939.  
  940. If /r is specified, it should be the first parameter on the command line
  941. after the command name, so that any error messages which  are  generated
  942. for subsequent parameters can be redirected.  Although the program  will
  943. usually be able to automatically detect the fact that  output  is  being
  944. redirected, you can always force  redirection  to  occur  by  explicitly
  945. specifying the /r switch (with the /q switch).
  946.  
  947. You may wish to place the output file on a different drive or  directory
  948. than the one being processed or the output file may be included  in  the
  949. directory list as a zero byte file.  For example: SD A: >C:\TEMP.DIR
  950.  
  951. The /t    switch    suppresses  the  display  of  detailed    information  for
  952. individual  files  and    directories  and only  displays  the  directory,
  953. file attribute (see the /s switch) and disk space totals lines.
  954.  
  955. The directory totals line includes the target directory path  (if the /v
  956. switch isn't specified), the number of  subdirectories,  the  number  of
  957. files selected, the total number of bytes and clusters in  the    selected
  958. files, and the percent of space used in the clusters  allocated  to  the
  959. selected  files.  This    last  value   provides     an  indication  of  how
  960. efficiently disk space is being utilized  for  the  selected  files  and
  961. depends on the number of files selected, the file  sizes  and  the  disk
  962. cluster size.  If a long path name is selected, it  is    displayed  on  a
  963. separate output line to prevent truncation  of    the  other  information.
  964. The disk space totals line includes the space used, percent used,  space
  965. free, total space on the disk, and the current date and time.
  966.  
  967. The /t switch is used  when you wish to compare the total number or size
  968. of  files  on  two  different  disks or directories.  If a difference is
  969. detected, other switches (such as /b or /d) can  be  used  to  determine
  970. which files are missing (or different).
  971.  
  972. Another difference between SD and DIR is that SD counts directories  and
  973. files separately; DIR includes both in its "file" count.
  974.  
  975. ------------------------------------------------------------------------
  976.  
  977. 4.2    Output Toggle Switches
  978.  
  979. ------------------------------------------------------------------------
  980.  
  981. Syntax: /output-switch ... /output-switch
  982.  
  983. /e  - Erase the screen before displaying output
  984. /h  - Display output using Horizontal sequence
  985. /k  - Display memory and disk space in Kilobytes
  986. /m  - Measure CPU performance for /i switch
  987. /o  - Switch between long and short date and time formats
  988. /p  - Print column title lines for /1 switch
  989. /q  - Quick output (no prompts when the screen fills)
  990. /u  - Switch between Upper and Lower case filenames
  991. /v  - Display disk Volume label and path at start
  992. /w  - Reset the screen to 25 lines at exit
  993. /y  - Restore the original screen at exit
  994.  
  995. These output switches are all "toggles".  This means that specifying the
  996. switch on the command line toggles the    switch    value  to  the    opposite
  997. state of the default value (either ON or OFF).    For example,  the  value
  998. of the /k switch is normally OFF.  Specifying /k  on  the  command  line
  999. will cause space values to be shown in    Kilobytes,  rather  than  Bytes.
  1000. However, if /k is configured to be ON as a default, specifying it on the
  1001. command line will cause space values to be shown in  Bytes  rather  than
  1002. Kilobytes.  These switches may be used together and with other    switches
  1003. in many different combinations.
  1004.  
  1005. The /e switch causes the display screen to be cleared before any  output
  1006. is displayed.  The screen is cleared using the current number of  screen
  1007. lines (rows), which may be different from the standard 25  lines  if  an
  1008. EGA or VGA adaptor and monitor are being used.
  1009.  
  1010. The /h switch causes the file  entries to  be  displayed  in  horizontal
  1011. rather than vertical sequence according to the    sort  option  specified.
  1012. This is handy when more than a screen's worth of output is generated, so
  1013. that the sequence of file entries is continuous when the screen scrolls.
  1014.  
  1015. The /k switch requests that system memory and disk space information  be
  1016. displayed  in  units  of Kilobytes (1024 bytes), rather than the default
  1017. units of bytes.  In addition, these values are    rounded  upward,  taking
  1018. into  account the allocation unit (cluster) size for the specified disk.
  1019. System memory values are simply rounded to the next higher Kilobyte. Use
  1020. of  the  /k  switch  will reveal the actual amount of disk space used by
  1021. each file, rather than the normal file size, which  may  be  much  less.
  1022. Depending on the file size and the number of output  columns  specified,
  1023. the file size value may be displayed in Kilobytes, even if the /k switch
  1024. isn't specified, due to space limitations.
  1025.  
  1026. The /m switch requests that the system CPU performance be  measured  and
  1027. displayed when the /i switch is also specified.  Since this process  can
  1028. take up to about 10 seconds on an 8088 system, the default  is    OFF.  If
  1029. you are using a fast system, you may prefer to configure the  value  ON.
  1030. See the section titled System Information Summary for details.
  1031.  
  1032. The /o switch requests that an alternate format be used when  displaying
  1033. system and file date and time values.  Two formats are    supported,  long
  1034. and short.  For example, for the long format values: 25-Nov-88 12:55:32,
  1035. the equivalent short format would be 11-25-88 12:55p.  The advantage  of
  1036. using the long format is that the month is more readable and  times  are
  1037. displayed in seconds for better accuracy.  The advantage  of  the  short
  1038. format is that dates are easier to compare when using the /d switch, and
  1039. the format is similar to the standard DOS date and time format.
  1040.  
  1041. The /p switch requests that a title line be displayed which  labels  the
  1042. individual output columns displayed for the /1    switch.  The  format  of
  1043. the displayed information is somewhat different when both the /a and  /1
  1044. switches are specified.  You may wish to turn off  the    /p  switch  when
  1045. redirecting the program output to a file to be used as input to  another
  1046. program.
  1047.  
  1048. The /q switch suppresses the console reads  which  normally  occur  when
  1049. output information is about to scroll off the screen.  You may    wish  to
  1050. specify this switch when a large amount of  output  is    being  generated
  1051. (/g or /a used without /t) or when specifying the /r switch.
  1052.  
  1053. The /u switch requests that an alternate format be used when  displaying
  1054. individual filenames.  Two formats are supported, upper and lower  case.
  1055. The lower case format is usually more readable, but this depends on  the
  1056. video monitor and number of screen lines being used.
  1057.  
  1058. The /v switch causes the disk volume label  (if  any),    and  the  target
  1059. path name to be displayed before the information for  individual  files.
  1060. In this case, the path name is not displayed on the first  totals  line,
  1061. which is the normal default.  You may wish to avoid  using  this  switch
  1062. when you are working with long    path  names, to  prevent  truncation  of
  1063. information on the output line.
  1064.  
  1065. The /w switch requests that the number of screen lines be  reset  to  25
  1066. when the program is about to exit in a video  mode  with  more    than  25
  1067. screen lines when an EGA or VGA adaptor is  in    use.  A  necessary  side
  1068. effect of this is that the program must wait for the user to press a key
  1069. just prior to exiting and the screen  is  cleared.  If    this  switch  is
  1070. configured ON, you will have to specify /w/y when you wish to use the /y
  1071. switch.  See the section titled EGA  and  VGA  Switches  for  additional
  1072. information.
  1073.  
  1074. The /y switch requests that the program save the contents of the  screen
  1075. (including the cursor location and size) on entry,  and  that  these  be
  1076. restored when the program terminates.  This requires  that  the  program
  1077. wait for the user to press a key just prior  to  exiting,  so  that  the
  1078. final screen output is not prematurely lost.  Screen sizes of up  to  80
  1079. columns by 50 lines for EGA and VGA adaptors are supported.  /y  may  be
  1080. ignored  if  used  together  with  either  the /w, /25, /35, /43, or /50
  1081. switch since the restored screen size could be incorrect after the video
  1082. mode change requested by these other switches.
  1083.  
  1084. It is also possible that /y will be ignored if used  together  with  the
  1085. /g switch when processing a large number of directories.  The  directory
  1086. buffer size is 2000 bytes  which  allows  up  to  about 125 16 character
  1087. directory names to be processed.  If  the  directory  buffer  fills,  it
  1088. automatically expands into the screen save buffer  (an    additional  8000
  1089. bytes), which allows up to a total of about 625 16  character  directory
  1090. names to be processed.
  1091.  
  1092. ------------------------------------------------------------------------
  1093.  
  1094. 4.3    Filename Column Switches
  1095.  
  1096. ------------------------------------------------------------------------
  1097.  
  1098. The /1, /2, /4, and /6 switches specify the number  of    filename  output
  1099. columns and, inversely, the amount of file information displayed:
  1100.  
  1101. /1 - 1 column  - File name, size,  clusters allocated,    % of space used,
  1102.          date, time, starting cluster and sector, and attributes
  1103.  
  1104. /2 - 2 columns - File name, size, date and time
  1105.  
  1106. /4 - 4 columns - File name and size
  1107.  
  1108. /6 - 6 columns - File name only
  1109.  
  1110. A larger number of columns allows more files  to  be  displayed  on  the
  1111. display  screen  at one time, at the cost of losing some of the detailed
  1112. file information.  A smaller number of columns allows more detailed file
  1113. information to be displayed, at the cost of only being able to display a
  1114. limited number of files.  All of these switches are mutually  exclusive;
  1115. only one should be specified.  The default switch is /2.
  1116.  
  1117. Subdirectory entries  (normally found in the root directory)  are  shown
  1118. with special screen colors, for emphasis.   This is  especially  helpful
  1119. when using the /6 switch, since there isn't room for the <Dir> indicator
  1120. (directory names may be up to 11 characters long, just like file names).
  1121. File name colors indicate the most significant attribute of the file  in
  1122. the order: System, Hidden, Read-Only, Archive, and Normal.
  1123.  
  1124. The file size is normally displayed in bytes, or  Kilobytes  if  the  /k
  1125. switch is specified.  If /2 is specified, file sizes larger than 999,999
  1126. bytes are displayed in Kilobytes and  if  /4  is  specified  file  sizes
  1127. larger than 99,999 bytes  are  displayed  in  Kilobytes,  due  to  space
  1128. limitations.  If /1 is specified,  the    number    of  clusters  which  are
  1129. allocated to the file and the percent of space actually  used  are  also
  1130. displayed.
  1131.  
  1132. The date and time the file was last modified  are  displayed  in  either
  1133. long or short format, depending on the /o switch value.  The time a file
  1134. was last written is only accurate to a resolution of  two  seconds;  all
  1135. values will have an even number of seconds.  Files  created  with  early
  1136. versions of DOS may not have either a date or time stamp.  In this case,
  1137. the date and time fields will appear as periods.
  1138.  
  1139. If /1 is specified, the starting cluster  number  and  starting  logical
  1140. sector number for the file are displayed, as are the file attributes:
  1141.  
  1142. A - Archive    R - Read/Only    H - Hidden    S - System
  1143.  
  1144. ------------------------------------------------------------------------
  1145.  
  1146. 4.4    EGA and VGA Switches
  1147.  
  1148. ------------------------------------------------------------------------
  1149.  
  1150. /25 - Display 25 lines on EGA or VGA monitor
  1151. /35 - Display 35 lines on EGA or VGA monitor
  1152. /43 - Display 43 lines on EGA or VGA monitor
  1153. /50 - Display 50 lines on EGA or VGA monitor
  1154.  
  1155. These switches change to the specified number  of  screen  lines  (rows)
  1156. when an Enhanced Graphics Adaptor (EGA) or Video  Graphics  Array  (VGA)
  1157. video adaptor and monitor  are    in  use.  The  screen  is  automatically
  1158. cleared and the screen    remains  set  to  this    size  when  the  program
  1159. terminates (unless /w is specified  when  it  is  reset  to  25  lines).
  1160. If the number of screen lines has already been set to  a  value  greater
  1161. than 25, the program will  automatically  use  the  current  value.  The
  1162. use of a monochrome monitor connected to an EGA card  is  not  supported
  1163. by these switches.
  1164.  
  1165. For an EGA, the native modes are 25 and 43 lines.  The 35  and    50  line
  1166. modes are synthesized by dynamically creating  new  EGA  fonts.  The  35
  1167. line mode is more readable than the 43 line mode.  The 50 line    mode  is
  1168. rather difficult to read since it is formed by dropping  the  last  scan
  1169. line of each character which causes the partial loss of  the  descenders
  1170. of some lower case letters.
  1171.  
  1172. For a VGA, the native modes are 25, 43, and 50 lines.  The 35 line  mode
  1173. is synthesized as for the EGA.    The 50 line mode is readable, since  the
  1174. VGA can use 400 vertical scan lines, rather than the 350 of the EGA.
  1175.  
  1176. Since versions of DOS prior to 4.0 neither properly recognize nor  fully
  1177. support all of the operational modes  possible    with  the  EGA/VGA  BIOS
  1178. (43 line mode, for example), you may  experience  strange  results  when
  1179. using these modes at the DOS command  prompt.  In  particular,    ANSI.SYS
  1180. does not recognize 43 line mode and may cause the DOS command prompt  to
  1181. appear on screen line 25, overlaying data  previously  displayed  there.
  1182. If you normally use ANSI.SYS (or other equivalent  ANSI  console  device
  1183. drivers) with an EGA/VGA monitor, you  may  wish  to  configure  the  /w
  1184. switch ON which handles this problem.  Turning the option ON will  cause
  1185. SD to wait for a character to be typed when it is about to  exit  in  an
  1186. EGA/VGA video mode with more than 25 screen lines.  After a character is
  1187. typed, the standard 25 line video mode is reset, the screen  is  cleared
  1188. and the program terminates.
  1189.  
  1190. If you are using DOS 4.0 with ANSI.SYS, you MUST specify the new /L ANSI
  1191. command line switch if you plan to use more than 25  screen  lines.  You
  1192. may also change the number of screen lines using the MODE command:
  1193.  
  1194. DEVICE=ANSI.SYS /L        (In CONFIG.SYS)
  1195. MODE CON LINES=25 or 43 or 50    (In AUTOEXEC.BAT or at DOS prompt)
  1196.  
  1197. SD will decline to execute if the current video mode  is  other  than  2
  1198. (80x25 B/W) or 3 (80x25 Color) when a  color  monitor  is  in  use.  The
  1199. other standard IBM 40 column text  modes  and  graphics  modes    are  not
  1200. supported, but it is rare to encounter these modes other than  in  BASIC
  1201. programs.  SD will operate if the current video mode is greater than 19,
  1202. for compatibility with high resolution video  modes  supported    by  some
  1203. non-IBM EGA and VGA video cards.
  1204.  
  1205. ------------------------------------------------------------------------
  1206.  
  1207. 5.0    System Information Summary
  1208.  
  1209. ------------------------------------------------------------------------
  1210.  
  1211. The /i switch requests that a screen be displayed which  summarizes  the
  1212. system hardware configuration  and  memory  and  disk  information.  The
  1213. information is presented in six boxes.    The upper  left  box  summarizes
  1214. the system hardware configuration.  The upper  middle  and  right  boxes
  1215. summarize DOS and system  memory  information.    The  lower  three  boxes
  1216. summarize the  technical  information  for  the  specified  disk.  Other
  1217. switches which can be used with the /i switch include /e, /k, /m and /o.
  1218. For example, to compare two sets of drive parameters using an EGA/VGA:
  1219.  
  1220. D>SD C:/I/50 - display info for drive C: using 50 lines
  1221. D>SD D:/I/E  - display info for drive D: without clearing screen
  1222.  
  1223. Output generated by the /i switch may be redirected as follows:
  1224.  
  1225. D>SD C:/I >FILE
  1226.  
  1227. ------------------------------------------------------------------------
  1228.  
  1229. 5.1    System Hardware
  1230.  
  1231. ------------------------------------------------------------------------
  1232.  
  1233. PC System Type - The PC System Type Code,  followed by the Submodel Type
  1234. and BIOS Level for PS/2 systems.  Typical system codes are as follows:
  1235.  
  1236. Code    System Types
  1237. ----    ------------
  1238.  FF    IBM PC
  1239.  FE    IBM PC-XT, IBM PC-PORTABLE
  1240.  FD    IBM PC-Jr
  1241.  FC    IBM PC-AT, IBM PC-XT/286, IBM PS/2-50,60
  1242.  FB    IBM PC-XT/2
  1243.  FA    IBM PS/2-30
  1244.  F9    IBM PC-CONVERTIBLE
  1245.  F8    IBM PS/2-70,80
  1246.  
  1247. ROM BIOS Date - The date contained in the ROM BIOS chip  which    provides
  1248. an indication of when the system was manufactured.
  1249.  
  1250. Processor Type - The type of CPU chip in the system.  Possible types are
  1251. 8086/8, 80286, or 80386.
  1252.  
  1253. Performance - The computing performance of the system  CPU  relative  to
  1254. the original IBM PC and PC-XT.    The  /m  switch  must  be  specified  or
  1255. configured ON.    Memory Resident (TSR) programs that intercept the  timer
  1256. interrupt   may   make     the   computed  CPU  performance  value  appear
  1257. artificially low.  You may wish to temporarily rename the CONFIG.SYS and
  1258. AUTOEXEC.BAT files, reboot the system and execute  the    command:  SD/I/M
  1259. to determine the true CPU performance.    Processing time ranges    from  10
  1260. seconds on 8088 systems to less than 1 second on 80386 systems.  You may
  1261. wish to run the test several  times,  since  the  value  may  fluctuate.
  1262. Typical system performance values are as follows:
  1263.  
  1264. System        CPU    MHz   Waits   Perf
  1265. ------        ---    ---   -----   ----
  1266. INTEL           80386    25    0    18.18
  1267. COMPAQ 386     80386    20    0    15.15
  1268. IBM PS/2-70    80386    20    1    14.08
  1269. IBM PS/2-80    80386    16    0    11.36
  1270. AT-CLONE       80286    12    1     8.69
  1271. IBM PS/2-60    80286    10    1     6.99
  1272. AT-CLONE       80286    8    0     5.88
  1273. IBM PC-AT      80286    8    1     5.52
  1274. AT-CLONE       80286    6    0     4.23
  1275. IBM PC-AT      80286    6    1     4.14
  1276. IBM PC-XT      8088    4.77    -     1.00
  1277.  
  1278. Video Adaptor - The type of  Video Display Adaptor currently being used.
  1279. Possible types are MDA, CGA, MCGA, EGA or VGA.
  1280.  
  1281. Drives (F/H/L) - The number of    (F)loppy and (H)ard drives in the system
  1282. and the DOS (L)ASTDRIVE value which may be specified in CONFIG.SYS.
  1283.  
  1284. Ports (S/P/G) - The number of  (S)erial, (P)arallel, and (G)ame ports in
  1285. the system.  Serial ports are often used for a modem or mouse,    parallel
  1286. ports are often used for printers and game ports are used for joysticks.
  1287.  
  1288. ANSI/CP/Mouse - ANSI indicates whether or not  an  ANSI  Console  Device
  1289. Driver    is  installed  in  the    system    (via CONFIG.SYS).  CP  indicates
  1290. whether or not an 80x87  math  Coprocessor  chip  is  installed  in  the
  1291. system.  Mouse     Type    indicates  whether  or    not  a    Microsoft  Mouse
  1292. compatible software device driver is installed in the system.
  1293.  
  1294. ------------------------------------------------------------------------
  1295.  
  1296. 5.2    System Memory
  1297.  
  1298. ------------------------------------------------------------------------
  1299.  
  1300. DOS Version - The version of PC-DOS or MS-DOS installed in the system.
  1301.  
  1302. Program Memory - The amount of memory used by the program, excluding the
  1303. buffer used to hold file entries, which is variable in size.
  1304.  
  1305. Environment - The amount of memory  currently  being  used  by    the  DOS
  1306. Environment allocated to the program.  The DOS SET command  is    used  to
  1307. add or delete Environment variables.
  1308.  
  1309. DOS Memory - The amount of memory  used  by  the  following  DOS  system
  1310. components: Interrupt Vectors in low memory, the Disk BIOS (IBMBIO.COM),
  1311. the  DOS kernel  (IBMDOS.COM),    FILES,    BUFFERS,  and any Device Drivers
  1312. specified in CONFIG.SYS, and any memory they allocate.
  1313.  
  1314. TSR Memory - The amount of  memory  used  by  the  resident  portion  of
  1315. COMMAND.COM (at a minimum) and    memory    allocated  to  any  subsequently
  1316. loaded    Terminate-and-Stay-Resident  type  programs  (such as  SDR.COM).
  1317. It also includes any currently free memory blocks which do not reside in
  1318. high memory (those previously released by TSR programs).
  1319.  
  1320. The DOS and TSR memory values can be very useful in  analyzing    how  the
  1321. memory currently being used is allocated and in finding overallocations.
  1322.  
  1323. Used Memory - The amount of system memory currently in use.
  1324.  
  1325. Free Memory - The amount of system memory currently not in use.
  1326.  
  1327. Total Memory - The total amount of system memory (below 640K).
  1328.  
  1329. EMS Version - The version of the Lotus-Intel-Microsoft    Expanded  Memory
  1330. Manager installed in the system, if any.  EMS allows any  PC  system  to
  1331. share paged memory on an EMS memory card between applications.    A device
  1332. driver must be installed in CONFIG.SYS to use this memory.
  1333.  
  1334. EMS Memory Used - The amount of EMS memory currently in use.
  1335.  
  1336. EMS Memory Free - The amount of EMS memory currently not in use.
  1337.  
  1338. EMS Memory Total - The total amount of EMS memory in the system.
  1339.  
  1340. EGA Memory - The amount of video memory installed (up to 256K) on an EGA
  1341. or VGA video display adaptor.
  1342.  
  1343. XMS Version - The version of the Lotus-Intel-Microsoft    Extended  Memory
  1344. Manager installed in the system, if any.  XMS allows a 286 or 386 system
  1345. to share Extended memory between applications.    A device driver must  be
  1346. installed in CONFIG.SYS to use this memory.
  1347.  
  1348. Free Memory - The amount of Extended memory (above 1Mb) managed  by  XMS
  1349. which is currently available for an 80286 or 80386 system.
  1350.  
  1351. Extended - The amount of Extended memory (above 1Mb) which is  currently
  1352. available for an 80286 or 80386 system.
  1353.  
  1354. ------------------------------------------------------------------------
  1355.  
  1356. 5.3    Disk Parameters
  1357.  
  1358. ------------------------------------------------------------------------
  1359.  
  1360. Disk Drive - The name of the target disk drive from A: to Z:.  The drive
  1361. letter will be followed by one of  the    following  descriptors,  if  the
  1362. drive type can be determined:
  1363.  
  1364. NET    - Logical Network Drive
  1365. BIG    - Hard Disk Partition GT 32Mb
  1366. HARD    - Hard Disk Partition LE 32Mb
  1367. 5.25"   - 5.25" Floppy Drive
  1368. 3.5"    - 3.5"  Floppy Drive
  1369.  
  1370. OEM Boot Information - The name of the Original  Equipment  Manufacturer
  1371. (OEM) and the version of DOS used to format the disk.
  1372.  
  1373. Hidden Sectors - The number of sectors on a hard disk hidden from use by
  1374. DOS when processing the current disk partition.  This area on  the  disk
  1375. may either contain partition table information, or the data  in  another
  1376. partition, depending on the partitioning scheme used.
  1377.  
  1378. Reserved Sectors - The number of sectors reserved at  the  beginning  of
  1379. the disk for the boot sector, partition tables, etc.
  1380.  
  1381. FATs/EntrySize - The number of File  Allocation  Tables  (FATs) and  the
  1382. number of Bits Per File Allocation Table Entry for the disk.  This value
  1383. is 12 for disks formatted prior to DOS 3.0 and either 12 or 16 for disks
  1384. formatted with DOS 3.0 or later.  DOS uses 16 bit FAT entries if a  disk
  1385. has 4086 or more data clusters.
  1386.  
  1387. Sectors Per FAT - The number of Sectors Per File Allocation Table.
  1388.  
  1389. Directory Sector - The logical sector number of the Root  Directory  for
  1390. the disk (or hard disk partition).
  1391.  
  1392. Data Sector - The logical sector number of the Data (File) Area  on  the
  1393. disk (or hard disk partition).
  1394.  
  1395. Root Directory Size - The maximum number of entries in the  disk's  Root
  1396. Directory.
  1397.  
  1398. Total Sectors - The total number of sectors on the disk,  including  the
  1399. Boot sector(s), FAT sectors, Root Directory sectors, and Data sectors.
  1400.  
  1401. Sectors Per Track - The number of Sectors Per Track on the disk.
  1402.  
  1403. Heads (Sides) - The number of Heads (Sides or Surfaces) for  a    hard  or
  1404. floppy disk.  Some RAMDISKs may have too many heads for their own good!
  1405.  
  1406. Cylinders - The number of Tracks Per Side (Head or Surface) for a floppy
  1407. disk or a hard disk partition.    This value may be slightly smaller  than
  1408. the number of physical cylinders for a hard disk partition, due  to  the
  1409. use of some cylinders for partition information,  bad sector tables,  or
  1410. diagnostic purposes.  For a hard disk, the total number of  cylinders on
  1411. the drive is also displayed, but only for the first drive and partition.
  1412.  
  1413. Media Byte - The Media Descriptor Byte is used to describe the size  and
  1414. format of the disk media and is based on the following disk  parameters:
  1415. Sectors per Track,  Heads  (Sides),  and  Cylinders  (Tracks Per  Side).
  1416. Although the Media Byte is used  by  the  BIOS    to  determine  the  disk
  1417. characteristics  in  certain  cases, not all  DOS  BIOS  implementations
  1418. use exactly the same Media Bytes for the same disk types.  An example is
  1419. the 5.25" 1.2Mb and 3.5" 720Kb disk types which both use media byte F9.
  1420.  
  1421. Bytes Per Sector - The number of Bytes Per Sector on the disk.
  1422.  
  1423. Sectors Per Cluster - The number of Sectors Per Cluster on the disk.
  1424.  
  1425. Bytes Per Cluster - The number of Bytes Per Cluster on the disk.
  1426.  
  1427. Volume Serial Number - The Volume Serial Number for  the  disk.  DOS 4.0
  1428. places an 8 digit hexadecimal Volume Serial Number in the Boot Sector of
  1429. each disk when it is formatted.  This value  can  be  used  to    uniquely
  1430. identify a disk since it is different for each disk  (unlike disk Volume
  1431. Labels which may be the same).    The VSN.COM utility provided can be used
  1432. to create, change and delete Volume Serial Numbers on  disks  which  are
  1433. either formatted or used with any version of DOS.  See the  VSN.DOC file
  1434. for additional information.
  1435.  
  1436. Volume Label - The Volume Label for the disk.  Volume Labels are created
  1437. either when the disk is formatted or when the LABEL command is used.
  1438.  
  1439. Create Date - The date when the Volume Label was created.
  1440.  
  1441. Create Time - The time when the Volume Label was created.
  1442.  
  1443. Used Clusters - The number of Clusters in use on the disk.
  1444.  
  1445. Free Clusters - The number of Clusters not in use on the disk.
  1446.  
  1447. Total Clusters - The total number of Clusters  available  on  the  disk.
  1448. This does not include the space used by  the Boot Sector,  the FATs,  or
  1449. the Root Directory.
  1450.  
  1451. Used Space - The number of Bytes used and the Percent of space    used  on
  1452. the disk.
  1453.  
  1454. Free Space - The number of Bytes free and the Percent of space    free  on
  1455. the disk.
  1456.  
  1457. Total Space - The total number of Bytes  available  on    the  disk.  This
  1458. does not include the space used by  the Boot Sector,  the FATs,  or  the
  1459. Root Directory.
  1460.  
  1461. Some of the disk information is obtained by reading  the  Boot Sector of
  1462. the disk.  If either an error occurs when  reading  the  Boot Sector, or
  1463. invalid data is detected, this information will appear as NONE or zeros.
  1464. The values affected are the OEM Boot Information through  Cylinders  and
  1465. the Volume Serial Number value.
  1466.  
  1467. Standard DOS disk formats and their characteristics are shown below:
  1468.  
  1469. Disk Type       Size   SPT    Heads    Cyls   Media    BPC   FAT
  1470. ---------       ----   ---    -----    ----   -----    ---   ---
  1471. 5.25" SS  48 TPI   160K    8      1      40      FE     512   12
  1472. 5.25" SS  48 TPI   180K    9      1      40      FC     512   12
  1473. 5.25" DS  48 TPI   320K    8      2      40      FF    1024   12
  1474. 5.25" DS  48 TPI   360K    9      2      40      FD    1024   12
  1475. 5.25" DS  96 TPI   1.2M   15      2      80      F9     512   12
  1476.  
  1477. 3.5"  DS 135 TPI   720K    9      2      80      F9    1024   12
  1478. 3.5"  DS 135 TPI   1.4M   18      2      80      F0     512   12
  1479.  
  1480. PC-XT Hard Disk     10M   17      4    305     F8    4096   12
  1481. PC-AT Hard Disk     20M   17      4    611     F8    2048   16
  1482. PC-AT Hard Disk     30M   17      5    731     F8    2048   16
  1483.  
  1484. ------------------------------------------------------------------------
  1485.  
  1486. 6.1    Batch File Operation
  1487.  
  1488. ------------------------------------------------------------------------
  1489.  
  1490. There are a variety of ways to effectively use SD  inside a Batch (.BAT)
  1491. file.  Three .BAT files are provided as examples: SDB, SDD and SDM.  All
  1492. three files will  display  help  information  if  executed  without  any
  1493. command line parameters.  They may be modified using any  standard  text
  1494. editor.  Once you are familiar with the use of these files, you may wish
  1495. to remove the help information at the beginning of  each  file    to  keep
  1496. them as small as possible.  If you are using DOS 3.3 or higher, you  may
  1497. wish to add an @ character to the ECHO OFF statement to suppress it.
  1498.  
  1499. Although you can use almost any valid SD command line with  these files,
  1500. the following restrictions exist:
  1501.  
  1502. 1) You must type a space before any command line parameters.
  1503.  
  1504. 2) Output redirection to a device or file isn't supported.
  1505.  
  1506. 3) If you don't specify any command line parameters, help information
  1507.    is displayed.  To select the current directory, specify * or ? or
  1508.    edit the file to remove the help information as described above.
  1509.  
  1510. The SDB.BAT file allows you to browse the output generated by  SD  using
  1511. another program (the default is LIST).    You may edit  the  SDB.BAT  file
  1512. to change the name of the browse program  to  any  program  you  prefer.
  1513. This Batch file is most useful when you are generating many  screens  of
  1514. output and wish to be able to scroll forward and  backward  through  the
  1515. output, find character strings, etc.  However, there may be a long  wait
  1516. before the output file is written, so a RAM disk should be used.
  1517.  
  1518. An example of using SDB is provided below:
  1519.  
  1520. C>sdb /az/1
  1521.  
  1522. Browse all information for all files inside all ARC and ZIP files in the
  1523. current directory of drive C using the one column output format.
  1524.  
  1525. The SDD.BAT Batch file allows you to execute the SD program for multiple
  1526. disk drives automatically.  This is especially useful when searching for
  1527. files which may be on other drives and possibly in other directories  or
  1528. ARC or ZIP files on other  drives.  It is  also  handy    when  displaying
  1529. totals information for one or more directories or ARC or  ZIP  files  on
  1530. several drives.
  1531.  
  1532. Before using SDD, you must use a text editor to edit the file to  select
  1533. the disk drives you wish to process (the default is drives C, D, and E).
  1534. It is recommended that you only select partitions  on  hard  disks,  and
  1535. possibly other drives which are not floppy disk drives,  but  any  valid
  1536. drive letters may be selected, and  in    any  desired  order.  Since  the
  1537. drive letters are contained within the Batch file itself,  you    must not
  1538. specify a specific drive letter on the command line.  You may abort  the
  1539. output at any point by pressing ESCAPE or CTRL-C, so  you  should  order
  1540. the drive letters by  expected    frequency  of  use.  The  following  two
  1541. statements must appear in the Batch file for each drive (d):
  1542.  
  1543. sd d:%1%2%3%4%5%6%7%8%9/$
  1544. if errorlevel 2 goto end
  1545.  
  1546. The last drive is an exception, where the /$ switch must be  changed  to
  1547. /$$ and the if statement should be omitted.  The /$  switch  tells SD to
  1548. provide a pause between successive drives in order to synchronize screen
  1549. scrolling.  The /$$ switch prevents the  last  output  line  from  being
  1550. overwritten by the DOS command line prompt.
  1551.  
  1552. Some typical examples of using SDD are provided below:
  1553.  
  1554. D>sdd \abc/g
  1555.  
  1556. Display information for  all files  whose names  begin with  abc in  all
  1557. directories on all selected drives.
  1558.  
  1559. D>sdd /v/t
  1560.  
  1561. Display volume label and totals information for  the  current  directory
  1562. on all selected drives.
  1563.  
  1564. D>sdd \/gt
  1565.  
  1566. Display volume label and  grand totals    information for  all directories
  1567. on all selected drives.
  1568.  
  1569. The SDM.BAT Batch file    allows    you  to  execute  the  SD  program  with
  1570. multiple command line parameters  including  drives,  paths,  file  name
  1571. specifications and/or  switches  all  on  the  same  command  line.  SDM
  1572. executes the SD program repeatedly,  passing  a  separate  command  line
  1573. parameter to SD each time it is executed.  Since each Batch file command
  1574. line parameter is separated from another by one or more spaces, you  can
  1575. group multiple sets of parameters together and separate the groups  with
  1576. one or more spaces.
  1577.  
  1578. Some typical examples of using SDM are provided below:
  1579.  
  1580. C>sdm d:\/gt e:\/gt
  1581.  
  1582. Display volume label and  grand totals    information for  all directories
  1583. on drives D and E.
  1584.  
  1585. D>sdm *.bat *.com *.exe
  1586.  
  1587. Display information for all .BAT, .COM and .EXE  files    in  the  current
  1588. directory of drive D.
  1589.  
  1590. C>sdm \dir1 \dir3 \dir5 \dir7
  1591.  
  1592. Display information for the files in each of the  specified  directories
  1593. on drive C.
  1594.  
  1595. ------------------------------------------------------------------------
  1596.  
  1597. 6.2    Multitasking Environments
  1598.  
  1599. ------------------------------------------------------------------------
  1600.  
  1601. There are two  different  ways    to  use  SD  with  various  multitasking
  1602. environments such as  Microsoft Windows or DESQview.  The  first  method
  1603. is to use SD in its normal mode  where    it  writes  output  directly  to
  1604. Video Memory for fast color output.  This method will not  allow  it  to
  1605. run in a window.  The supplied SD.PIF file tells Microsoft Windows  that
  1606. SD is to be used in this mode.    The second method is to make a    copy  of
  1607. SD (SDW) which will have the /r switch turned  on  as  a  default.  This
  1608. will allow it to run inside a window, but more slowly and without color.
  1609.  
  1610. Create the SDW file as follows:
  1611.  
  1612. D>COPY SD.COM SDW.COM
  1613. D>DEBUG SDW.COM
  1614. -E114 1
  1615. -W
  1616. -Q
  1617.  
  1618. For Microsoft Windows, copy  SD.PIF  to  SDW.PIF  and  use  the  PIFEDIT
  1619. utility to edit the SDW.PIF file to indicate that the program  does  not
  1620. directly modify the screen.  For DESQview, SDW may be used without being
  1621. specially defined.  However, you must "add" SD as a DESQview application
  1622. program which will tell DESQview that it writes directly to the screen.
  1623.  
  1624. ------------------------------------------------------------------------
  1625.  
  1626. 6.3    Local Area Networks and OS/2
  1627.  
  1628. ------------------------------------------------------------------------
  1629.  
  1630. SD and SDR have been tested with IBM, NOVELL,  3-COM,  10NET  and  other
  1631. Local Area  Networks  for  compatibility.  Logical  Network  drives  are
  1632. detected and identified.  When the /i switch is specified, no attempt is
  1633. made to read the Boot Sector for Network drives, so not all of the  disk
  1634. parameter information is available.  ARC and ZIP files are opened  using
  1635. "Deny Write" sharing mode to allow concurrent Read mode access on LANs.
  1636.  
  1637. SD and SDR have been tested with several versions of the  OS/2    DOS  3.X
  1638. "Compatibility Box" with good results.  An OS/2 protected  mode  version
  1639. of SD is under development.  Please let  the  author  know  if    you  are
  1640. interested in this version of the program.
  1641.  
  1642. ------------------------------------------------------------------------
  1643.  
  1644. 7.1    Configuring the Program
  1645.  
  1646. ------------------------------------------------------------------------
  1647.  
  1648. The SD program may be configured (using SDC) or patched (using DEBUG) to
  1649. change the various  program  defaults  to  those  you  prefer.    The  SDC
  1650. program is preferred over DEBUG since it is much easier and safer to use
  1651. and allows you to decide which combination of screen colors you  prefer.
  1652. It also allows you to judge the effect of your    changes  by  alternately
  1653. modifying the SD program and executing the modified program, all without
  1654. having to leave the configuration  program.  Please  run  the  DEMO2.BAT
  1655. file to see some examples of SDC program output.
  1656.  
  1657. If you are using DEBUG, you will need to refer    to  the  section  titled
  1658. Patch Area Format to obtain  the  necessary  offsets  and  data  values.
  1659. The following example shows how to use DEBUG to patch the SD program:
  1660.  
  1661. D>DEBUG SD.COM      (Load SD.COM into memory using DEBUG)
  1662. -E107 '4'         (Change the default number of columns to 4)
  1663. -E118 01      (Display the volume label as a default)
  1664. -E11C 1E      (Change directory colors to Yellow on Blue)
  1665. -W          (Write the modified file back to disk)
  1666. -Q          (Exit to DOS from DEBUG)
  1667. D>SD          (Execute the modified version of SD.COM)
  1668.  
  1669. Screen Color Configuration
  1670.  
  1671. Although it is possible to configure the SD program using either a color
  1672. or monochrome monitor, best results will be obtained if  you  are  using
  1673. the target monitor since you will be better able  to  judge  the  effect
  1674. of different screen color  combinations.  If  you  are    using  a  laptop
  1675. computer with a LCD display screen, you may wish to set  all  colors  to
  1676. White on Black for better readability.    You can do this as follows:
  1677.  
  1678. D>DEBUG SD.COM      (Load SD.COM into memory using DEBUG)
  1679. -F11C L 10 7      (Change all screen colors to White on Black)
  1680. -W          (Write the modified file back to disk)
  1681. -Q          (Exit to DOS from DEBUG)
  1682. D>SD          (Execute the modified version of SD.COM)
  1683.  
  1684. The foreground and background colors (screen attributes)  used    for  the
  1685. following screen fields may be configured:
  1686.  
  1687. DIRECTORY COLORS apply to individual subdirectory entries.
  1688.  
  1689. SYSTEM COLORS apply to files with the System attribute.
  1690.  
  1691. HIDDEN COLORS apply to files with the  Hidden  attribute,  but    not  the
  1692. System attribute.
  1693.  
  1694. READ/ONLY COLORS apply    to  files  with  the  Read/Only  attribute,  but
  1695. neither the System nor Hidden attribute.
  1696.  
  1697. ARCHIVE COLORS apply to files with the Archive    attribute,  but  neither
  1698. the System, Hidden, or Read/Only attribute.
  1699.  
  1700. FILE COLORS apply to files with none of the above mentioned  attributes.
  1701.  
  1702. ARC FILE COLORS apply to file entries INSIDE ARC files.
  1703.  
  1704. ZIP FILE COLORS apply to file entries INSIDE ZIP files.
  1705.  
  1706. FILE SIZE COLORS apply to the file size, clusters, and percent of  space
  1707. used fields.
  1708.  
  1709. FILE DATE COLORS apply to the file date and time fields.
  1710.  
  1711. FILE MISC COLORS apply to the file starting cluster and sector and  file
  1712. attribute fields for non-ARC files and file CRC  codes    for  ARC  files.
  1713. These are also used for empty file box entries and (K)ilobyte symbols.
  1714.  
  1715. GRAPHICS COLORS apply to the  graphics    characters  which  are    used  to
  1716. form the border lines of boxes.
  1717.  
  1718. TITLE COLORS apply to the title fields for the various    boxes  displayed
  1719. by the /? and /i switches.
  1720.  
  1721. TEXT COLORS apply to the text strings which precede  numeric  or  string
  1722. values in the leading and trailing text lines and to  the  text  in  the
  1723. boxes displayed for the /? and /i switches.
  1724.  
  1725. INFO COLORS apply to the numeric or string values which follow the  text
  1726. strings in the leading and trailing text lines and to the values in  the
  1727. boxes displayed for the /i switch.
  1728.  
  1729. NORMAL COLORS apply to the trailing characters on each output line,  the
  1730. new output lines created when the screen is scrolled and the SDR  prompt
  1731. line.  These colors should be set to the standard screen colors used  at
  1732. the DOS command prompt.
  1733.  
  1734. The Graphics, Text, Info and Normal Colors should be  selected    so  that
  1735. they all use the same background color (the default is Black), for  best
  1736. results.  The remaining colors should  be  selected  so  that  they  are
  1737. sufficiently different from one another to be individually  recognizable
  1738. and are easily readable on the video monitor being used.  Although there
  1739. are 2048 possible color combinations, only a few are tolerable for long.
  1740.  
  1741. ------------------------------------------------------------------------
  1742.  
  1743. 7.2    Patch Area Format
  1744.  
  1745. ------------------------------------------------------------------------
  1746.  
  1747. The following information is only provided as a reference for those  who
  1748. need to use DEBUG to change the program defaults; it is  not  needed  to
  1749. run the SDC configuration program.
  1750.  
  1751. The following data area at the beginning  of  the  SD.COM  file  may  be
  1752. modified using the standard DOS  DEBUG    program.  Only the  data  values
  1753. beginning with the Sort Type field should be modified.    Only the  toggle
  1754. switches marked (SDC) should normally be turned ON as a default.
  1755.  
  1756. SDC    DEBUG    Field               Default     Possible
  1757. Offset    Offset    Description           Value     Values
  1758. ------    ------    -----------           -------     --------
  1759.   01     0100    Jump Instruction      -     ?? ?? ??
  1760.   04     0103    Program Type          -     1=SD.COM, 2=SDR.COM
  1761.   05     0104    Program Version       -     61H = Version 6.1
  1762.  
  1763.   06     0105    Sort Type         'X'     'B','C','D','F','X','N'
  1764.   07     0106    Sort Direction         '+'     '+','-'
  1765.   08     0107    Filename Columns     '2'     '1','2','4','6'
  1766.  
  1767.   09     0108    Process ARC Files      0     /A = 0,1
  1768.   10     0109    Erase Console Screen      0     /E = 0,1      (SDC)
  1769.   11     010A    Process Global Dirs      0     /G = 0,1
  1770.   12     010B    Horizontal Sequence      0     /H = 0,1      (SDC)
  1771.   13     010C    System Information      0     /I = 0,1
  1772.   14     010D    Just Display Colors      0     /J = 0,1
  1773.   15     010E    Space in Kilobytes      0     /K = 0,1      (SDC)
  1774.   16     010F    List File Names       0     /L = 0,1
  1775.   17     0110    Measure CPU Performance   0     /M = 0,1      (SDC)
  1776.   18     0111    Date/Time Format      0     /O = 0,1      (SDC)
  1777.   19     0112    Print Title Lines      1     /P = 0,1      (SDC)
  1778.   20     0113    Quick Output          0     /Q = 0,1      (SDC)
  1779.   21     0114    Redirected Output      0     /R = 0,1      (SD)
  1780.   22     0115    System & Hidden Files      1     /S = 0,1      (SDC)
  1781.   23     0116    Totals Lines Only      0     /T = 0,1
  1782.   24     0117    Upper/Lower Case      0     /U = 0,1      (SDC)
  1783.   25     0118    Display Volume Label      0     /V = 0,1      (SDC)
  1784.   26     0119    Reset to 25 Screen Rows   0     /W = 0,1      (SDC)
  1785.   27     011A    Restore Original Screen   0     /Y = 0,1      (SD)
  1786.         Suppress Activation Msg   0     /Y = 0,1      (SDR)
  1787.   28     011B    Process ZIP Files      0     /Z = 0,1
  1788.  
  1789.   29     011C    Directory FG/BG Colors 11+16*1 I Cyan     on Blue
  1790.   30     011D    System      FG/BG Colors 12+16*0 I Red     on Black
  1791.   31     011E    Hidden      FG/BG Colors 13+16*0 I Magenta on Black
  1792.   32     011F    Read/Only FG/BG Colors    9+16*0 I Blue     on Black
  1793.   33     0120    Archive   FG/BG Colors 14+16*0 I Yellow  on Black
  1794.   34     0121    File      FG/BG Colors 15+16*0 I White     on Black
  1795.   35     0122    ARC File  FG/BG Colors 14+16*1 I Yellow  on Blue
  1796.   36     0123    ZIP File  FG/BG Colors 15+16*1 I White     on Blue
  1797.   37     0124    Size      FG/BG Colors 11+16*0 I Cyan     on Black
  1798.   38     0125    Date      FG/BG Colors 10+16*0 I Green     on Black
  1799.   39     0126    Misc      FG/BG Colors    9+16*0 I Blue     on Black
  1800.   40     0127    Graphics  FG/BG Colors    4+16*0     Red     on Black
  1801.   41     0128    Title      FG/BG Colors    7+16*1     White     on Blue
  1802.   42     0129    Text      FG/BG Colors    2+16*0     Green     on Black
  1803.   43     012A    Info      FG/BG Colors    3+16*0     Cyan     on Black
  1804.   44     012B    Normal      FG/BG Colors    7+16*0     White     on Black
  1805.  
  1806.   45     012C    Directory Mono Attrs    0+16*7     Reverse Video
  1807.   46     012D    System      Mono Attrs    9+16*0 I Underlined
  1808.   47     012E    Hidden      Mono Attrs    1+16*0     Underlined
  1809.   48     012F    Read/Only Mono Attrs    1+16*0     Underlined
  1810.   49     0130    Archive   Mono Attrs   15+16*0 I Intensified
  1811.   50     0131    File      Mono Attrs    7+16*0     Normal Video
  1812.   51     0132    ARC File  Mono Attrs   15+16*0 I Intensified
  1813.   52     0133    ZIP File  Mono Attrs   15+16*0 I Intensified
  1814.   53     0134    Size      Mono Attrs    7+16*0     Normal Video
  1815.   54     0135    Date      Mono Attrs    7+16*0     Normal Video
  1816.   55     0136    Misc      Mono Attrs    7+16*0     Normal Video
  1817.   56     0137    Graphics  Mono Attrs    7+16*0     Normal Video
  1818.   57     0138    Title      Mono Attrs    0+16*7     Reverse Video
  1819.   58     0139    Text      Mono Attrs    7+16*0     Normal Video
  1820.   59     013A    Info      Mono Attrs   15+16*0 I Intensified
  1821.   60     013B    Normal      Mono Attrs    7+16*0     Normal Video
  1822.  
  1823.   61     013C    Hot Key Control Code      4     0-15          (SDR)
  1824.   62     013D    Hot Key Scan Code      1     0-255          (SDR)
  1825.   63     013E    Hot Key String    CTRL-ESCAPE Keys 16 chars,NULL      (SDR)
  1826.   80     014F    Prompt Character      26     0-255          (SDR)
  1827.   81     0150    Dir Buffer Length     1024     512-4096      (SDR)
  1828.   83     0152    File Buffer Length    10240     2560-40960      (SDR)
  1829.   85     0154    Screen Buffer Type      1     1/2=4000/8000      (SDR)
  1830.  
  1831.               Color Codes
  1832.  
  1833.       0 = Black       1 = Blue          2 = Green       3 = Cyan
  1834.       4 = Red          5 = Magenta     6 = Brown       7 = White
  1835.  
  1836. SD  dynamically  selects  either  the  color  or  monochrome  attributes
  1837. specified  at  the  offsets  in  the  table  above, based on the type of
  1838. video display adaptor being used.
  1839.  
  1840. Once the desired foreground and background colors (attributes) have been
  1841. selected for a screen field, compute the field attribute byte using  the
  1842. formula: ATTRIBUTE = FCOLOR+16*BCOLOR, where FCOLOR and BCOLOR    are  the
  1843. foreground and background colors (attributes), respectively.
  1844.  
  1845. Intensified foreground colors corresponding to the 8 standard colors may
  1846. be  selected  by  adding 8 to the foreground color number.  For example,
  1847. specify foreground color (6+8)=14  to  get  a  foreground  Yellow  color
  1848. instead  of  the  unintensified  Brown.    The blinking  attribute  (for
  1849. foreground characters) may be selected by adding  8  to  the  background
  1850. color number.  However, use of this attribute  is not recommended, since
  1851. it may be distracting.    For a  monochrome  monitor,  selecting    Blue  on
  1852. Black (1+16*0) will cause the screen field to be underlined.
  1853.  
  1854. ------------------------------------------------------------------------
  1855.  
  1856. 8.1    Error Messages and Return Codes
  1857.  
  1858. ------------------------------------------------------------------------
  1859.  
  1860. The following error messages are displayed and system return  codes  set
  1861. for various conditions which may arise.  An audible tone is generated to
  1862. alert the user of the error (for code 2 and above) in case the output is
  1863. being redirected.  The return codes may be tested using the standard DOS
  1864. IF ERRORLEVEL statement in a .BAT file.
  1865.  
  1866. 0 - One or more matching files were found.
  1867. 1 - No matching files were found.
  1868. 2 - Bad switch or ESCAPE or CTRL-C pressed.
  1869. 3 - Bad drive (doesn't exist or syntax error).
  1870. 4 - Bad path (doesn't exist or syntax error).
  1871. 5 - Bad file specification (syntax error).
  1872. 6 - Bad date (too large or syntax error).
  1873. 7 - Too many directories (when /g is specified).
  1874. 8 - Too many files (partial information displayed).
  1875. 9 - Bad video mode (unsupported video mode).
  1876.  
  1877. If there is insufficient space in the directory and/or file  buffers  to
  1878. hold the specified directories and files, as many entries as will fit in
  1879. the buffers are processed in the order they are selected.
  1880.  
  1881. Other errors which are detected relate to the processing  of  ARC or ZIP
  1882. files.    The first type are standard DOS file I/O error codes  which  can
  1883. occur when opening, reading, or closing files.    The error message is:
  1884.  
  1885. Error <n> on <drive><path><filename>, where <n> is as follows:
  1886.  
  1887. 1 - Invalid function code    5 - Access denied
  1888. 2 - File not found        6 - Invalid handle
  1889. 3 - Path not found           12 - Invalid access value
  1890. 4 - Too many open files
  1891.  
  1892. The only one of these errors which is likely to occur  is  4,  in  which
  1893. case you need to increase the FILES specification in CONFIG.SYS.
  1894.  
  1895. The second type of error is caused by bad data in the header field for a
  1896. file in an ARC or ZIP file, or attempting to process a file with the  /a
  1897. or /z switch which is not an ARC or ZIP file.  The error message is:
  1898.  
  1899. Bad header in <drive><path><filename>
  1900.  
  1901. ------------------------------------------------------------------------
  1902.  
  1903. 8.2    Modification History
  1904.  
  1905. ------------------------------------------------------------------------
  1906.  
  1907. 15-Mar-89 ... V6.1
  1908.  
  1909. Process all .ARC, .PKA, and .PAK files for /a switch.
  1910. Changed /z switch to /y to restore original screen at exit.
  1911. Added /z, /az and /za switches to request processing of .ZIP
  1912. files separately from, or in addition to ARC file processing.
  1913. Improved processing and display format of long path names.
  1914. Use deny write file sharing mode for concurrent access on LAN.
  1915. Display all file entries inside double lined boxes.
  1916. Display exact file sizes for large files for /1 switch.
  1917. Display file sizes GT 99999 in Kilobytes for /4 switch.
  1918. Added separate colors for .ZIP files and title lines.
  1919. Use file misc colors for empty box entries and 'k' chars.
  1920. Changed default file colors to use Black/Blue background.
  1921. Close file box and display totals if Control-C is typed.
  1922. Scroll screen down one page if Page-Down Key is pressed.
  1923. Override automatic redirection test if /r is specified.
  1924. Handle directory attributes correctly if /s is specified.
  1925. Flush the DOS console input buffer before terminating.
  1926. Give error message and set return code if too many files.
  1927. Display partial information if too many files or dirs.
  1928. Added /gn switch to bypass sort of subdirectory names.
  1929. Improved test for the presence of an ANSI console driver.
  1930. Allow SD to activate for non-standard video modes GT 13H.
  1931. Modified SDR to work correctly in OS/2 compatibility box.
  1932. Added /$$ switch to avoid loss of last line in .BAT file.
  1933. Added /sn switch to select files with no attributes.
  1934. Added SDB, SDD, and SDM batch files to browse output,
  1935. process multiple drives, and process multiple commands.
  1936.  
  1937. ------------------------------------------------------------------------
  1938.  
  1939. 8.3    Product Support
  1940.  
  1941. ------------------------------------------------------------------------
  1942.  
  1943. This product represents more than a thousand hours of work over  several
  1944. years.    I believe it is a good example of  the    SHAREWARE  concept;  you
  1945. get to try the product    without  prior    commitment  and  only  chose  to
  1946. support it if you find it useful.  Many of the    continuing  improvements
  1947. have been implemented in response  to  user  suggestions  and  requests.
  1948. If you find that you continue to use this product once you  have  become
  1949. familiar with it, it is obviously of some value to you;  please  support
  1950. the SHAREWARE concept by registering your copy and sharing the    SD61.ARC
  1951. or SD61.ZIP file with other users.
  1952.  
  1953. The distribution file may be freely copied and distributed  as    long  as
  1954. the only charge is for media  and  reproduction  costs,  etc.  Under  no
  1955. conditions should the program either be sold for a profit or distributed
  1956. in modified  form  without  the  permission  of  the  author.  Site  and
  1957. Corporate licenses are available on request  for  use  in  corporate  or
  1958. government organizations.  The SITE.FRM file  contains    a  Site  License
  1959. Agreement Form.  Special versions are available on request.
  1960.  
  1961. As supplied, the programs in this product are fully functional    with  no
  1962. missing or crippled features.  However, the SHAREWARE concept is  a  two
  1963. way process.  In order    to  keep  the  size  of  the  distribution  file
  1964. reasonable, and to encourage  users  to  register  their  copy    of  this
  1965. product, the SDC configuration utility program is only available through
  1966. the mail when you register your copy of SD.
  1967.  
  1968. This easy-to-use program provides full screen color  menus  which  allow
  1969. you to change any of the default sort options,    screen    colors,  command
  1970. line switch values, or other  program  options    in  SD    or  SDR  to  the
  1971. defaults you prefer.  Although you can also use the DOS DEBUG program to
  1972. make these changes by patching the SD  or  SDR    files,    SDC  makes  this
  1973. process much quicker and safer.
  1974.  
  1975. To register your copy of SD, please print and  complete  the  order  and
  1976. registration form contained in the file ORDER.FRM and return it together
  1977. with a contribution of $20.  Use of the order form is  optional;  it  is
  1978. simply included as a convenience to users.  In return, you will  receive
  1979. a disk containing the latest version of all of the SD utility  programs,
  1980. including the SDC configuration program.
  1981.  
  1982. The full Assembly Language source code for the SD, SDR and VSN    programs
  1983. and the BASIC Language source code for the SDC program is available on a
  1984. second disk for an additional  $20.  Obtaining    this  second  disk  will
  1985. enable you to see how the  programs  work,  learn  more  about    assembly
  1986. language programming, or make your own enhancements.
  1987.  
  1988. If you do improve the program, please let me know so  that  the  results
  1989. can be shared with other users.  I prefer to coordinate all  changes  so
  1990. that they are released in  an  orderly    fashion.  Full    source    code  is
  1991. included with all Site Licenses.
  1992.  
  1993. A comprehensive DOS HELP utility is available separately which    provides
  1994. quick, friendly access to complete DOS command reference information for
  1995. DOS 2.0-4.0.  The DEMO2.BAT file provides a demonstration of some of the
  1996. capabilities of this product.  The DOS HELP utility  is  also  available
  1997. for a contribution of $20.  Please specify  whether  you  want    the  IBM
  1998. PC-DOS or ZENITH MS-DOS Version of the HELP Utility.  Site Licenses  are
  1999. also available for this product.  This is not a SHAREWARE product and is
  2000. only available through the mail.
  2001.  
  2002. Even if you don't register or formally support  these  products,  please
  2003. share copies of the distribution file with  other  users  and/or  upload
  2004. copies to Computer Bulletin Boards you use.
  2005.  
  2006. Users  who  have  supported   this  product  in  the  past  are  largely
  2007. responsible  for  the  existence  of  the  current  version.  Previously
  2008. registered users can receive the latest version of the SD  Utility  Disk
  2009. or DOS HELP Disk for a $10 contribution, at any time.  I normally supply
  2010. 5.25" 360Kb disks.  If you prefer to receive 3.5"  720Kb  disks,  please
  2011. indicate this on the order form and add $2.50.    If you are ordering 2 or
  2012. more disks and prefer to receive 5.25" 1.2Mb disks, please indicate this
  2013. on the order form (there is no    extra  charge).  I  can  accept  checks,
  2014. money orders and purchase orders.
  2015.  
  2016. If  you  wish  to  contact  me    with  problem reports,    suggestions  for
  2017. improvements,  and/or  especially  large  financial  donations, I can be
  2018. reached using the information provided below:
  2019.  
  2020. John F. Stetson         (Home) (301) 946-5615 (8PM-11PM EST)
  2021. 42 Tivoli Lake Court        (Work) (301) 340-4544 (10AM-6PM EST)
  2022. Silver Spring, Md. 20906
  2023.  
  2024. ------------------------------------------------------------------------
  2025.  
  2026. IBM and PC-DOS are trademarks of IBM Corporation.
  2027. MICROSOFT and MS-DOS are trademarks of Microsoft Corporation.
  2028. DESQview is a trademark of Quarterdeck Office Systems.
  2029. ARC is a trademark of SEA Corporation.
  2030.  
  2031. ------------------------------------------------------------------------
  2032.